package com.example.openim.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @description: 角标socket
 * @author: xhq
 * @create: 2025-11-18 08:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sub_socket")
public class SubSocket {

    @Id
    private String id;

    @Field("phone_number")
    private String phoneNumber;

    @Field("count")
    private Integer count;
}
